/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.upc.wib.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 *
 * @author rv
 */
@Controller("ParticipanteController")
public class ParticipanteController {

    @RequestMapping("/participantes/RegistrarParticipante")
    public ModelAndView registrarParticipante() {
        ModelAndView mav = new ModelAndView("participantes/RegistrarParticipante");
        return mav;
    }

    @RequestMapping("/participantes/Vota")
    public ModelAndView vota() {
        ModelAndView mav = new ModelAndView("participantes/Vota");
        return mav;
    }
}
